load("@fbcode_macros//build_defs:rust_python_extension.bzl", "rust_python_extension")

oncall("sapling")

rust_python_extension(
    name = "bindings",
    srcs = glob(["src/**/*.rs"]),
    base_module = "",
    compatible_with = [
        "ovr_config//os:linux",
    ],
    module_name = "bindings",
    deps = [
        "fbsource//third-party/rust:cpython",
        "//eden/scm/lib/commands:commands",
    ],
)
